//
//  YueyouCollectionCell.m
//  MiaoTu
//
//  Created by dllo on 16/9/18.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "YueyouCollectionCell.h"

@implementation YueyouCollectionCell

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        _tagLabel = [UILabel new];
        [self.contentView addSubview:_tagLabel];
        _tagLabel.textAlignment = NSTextAlignmentCenter;
    }
    return self;
}

- (void)layoutSubviews {
    [super layoutSubviews];
    _tagLabel.frame = self.contentView.bounds;
    _tagLabel.layer.borderWidth = 1;
    _tagLabel.layer.borderColor = [UIColor colorWithRed:0.890 green:0.878 blue:0.867 alpha:1.000].CGColor;
}

- (void)awakeFromNib {
    // Initialization code
    [super awakeFromNib];
}

@end
